<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			var name = prompt("请您输入一个帅哥的名字");
			if(name == "小李子1"){
				document.write("<img src='img/1.jpg' />")
			}
			if(name == "小李子2"){
				document.write("<img src='img/1.jpg' />")
			}
		</script>
	</body>
</html>
